package cn.wolfcode.luowowo.article.util;

import java.util.HashSet;
import java.util.List;

/**
 * Created by admin on 2019/8/22.
 */
public class ListUtil {
    public static List<Long> removeDuplicate(List list) {
        HashSet<Long> h = new HashSet(list);
        list.clear();
        list.addAll(h);
        return list;
    }
}
